<template>
  <div class="stage3-service-container">
    <!-- Header -->
    <div class="header">
      <div class="container">
        <div class="header-content">
          <h1 class="main-title">《1v1线上施工陪跑》</h1>
        </div>
      </div>
    </div>

    <div class="container">
      <div class="tools-package">
        <div class="package-header">
          <div class="package-title">
            <i class="fas fa-home"></i> 服务内容
          </div>
        </div>

        <div class="package-content">
          <div class="tool-section">
            <h4><i class="fas fa-road"></i> 全流程指导</h4>
            <p>帮助用户掌握施工各阶段的要点，确保施工顺利进行。</p>
          </div>

          <div class="tool-section">
            <h4><i class="fas fa-clipboard-check"></i> 验收指导</h4>
            <p>施工监督验收指导，严格按照标准进行验收，保障施工质量。</p>
          </div>

          <div class="tool-section">
            <h4><i class="fas fa-camera"></i> 证据留存</h4>
            <p>协助用户留存施工过程中的关键证据，为后期维权做准备。</p>
          </div>

          <div class="tool-section">
            <h4><i class="fas fa-store"></i> 优选商家指导</h4>
            <p>协助用户优选各类主材、电器、设备、家居软装等。</p>
          </div>
        </div>
      </div>
    </div>

    <div class="service-info">
      <div class="price-card">
        <span class="price-note">990元起</span>
        <span class="price-divider">|</span>
        <span class="price-note">预约服务请咨询客服</span>
      </div>
    </div>
    <div class="footer">
      <el-button type="primary" size="large" class="backBtn" @click="backToHome">
        返回首页
      </el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Stage3ServiceView',
  methods: {
    backToHome() {
      this.$router.push('/')
    }
  }
}
</script>

<style scoped>
.stage3-service-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9eb 0%, #e6f4e6 100%);
  color: var(--text-dark);
  line-height: 1.5;
  padding-bottom: 20px;
}

.package-title i {
  margin-right: 8px;
  font-size: 16px;
}

.backBtn {
  background-color: #2e7d32;
  border-radius: 8px;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  text-align: center;
  padding: 10px 20px;
}

.header {
  background: var(--primary-color);
  color: white;
  padding: 15px 0;
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.container {
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.tools-package {
  margin: 20px 0;
  position: relative;
  animation: fadeIn 0.5s ease forwards;
}

.package-header {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.package-title {
  font-size: 15px;
  display: flex;
  align-items: center;
}

.tool-section {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e0e0e0;
  position: relative;
}

.tool-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tool-section h4 {
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.tool-section h4 i {
  margin-right: 8px;
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.tool-section p {
  font-size: 14px;
  color: var(--text-medium);
  padding-left: 28px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.tool-section p:last-child {
  margin-bottom: 0;
}

.package-content {
  padding: 14px;
  background: white;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1.5px;
}

.service-info {
  margin: 25px 0;
  padding: 0 30px;
}

.price-card {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.price-divider {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 6px;
}

.price-note {
  font-size: 16px;
  color: var(--text-medium);
}
</style>